<template>
  <div>
    <van-tabbar v-model="active" route style="width: 100vw">
      <van-tabbar-item icon="wap-home" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="notes" to="/calendar">日历</van-tabbar-item>
      <van-tabbar-item icon="friends" to="/menu">开始训练</van-tabbar-item>
      <van-tabbar-item icon="friends" to="/community">社区</van-tabbar-item>
      <van-tabbar-item icon="contact" to="/mine">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script setup>
import { ref } from 'vue'
const active = ref(0)
</script>
<style lang=""></style>
